import { createRouter, createWebHashHistory } from 'vue-router'
import { routes, anyRoutes } from './routes'

let router = createRouter({
  history: createWebHashHistory(),
  routes:  [...routes, ...anyRoutes],
  scrollBehavior() {
    return {
      left: 0,
      top: 0,
    }
  },
})
export default router